﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLiNhaSachBUS;

namespace QuanLiNhaSachGUI
{
    public partial class frmTonKho : Form
    {
        public frmTonKho()
        {
            InitializeComponent();
        }

        private void btOK_Click(object sender, EventArgs e)
        {
            dataGridView1.DataSource = BaoCaoBUS.baoCaoSach(dateTimePicker1.Value, dateTimePicker2.Value);
        }

        private void btInFile_Click(object sender, EventArgs e)
        {
            new frmReportViewer().viewTonKho(BaoCaoBUS.baoCaoSach(dateTimePicker1.Value, dateTimePicker2.Value));
        }
    }
}
